// var com = require('./component.js');
// console.log(com)
// document.body.innerHTML = com();

//main.js
'use strict'
//注意！这里引入了新的东西
import 'babel-polyfill'
import React from 'react'
import {render} from 'react-dom'
import Component from './component'
let main = function(){
    render(<Component />,document.getElementById('main'));
}
main();
